<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="disciplineProcedure.title"/></title>
    <meta name="heading" content="<fmt:message key='disciplineProcedure.disciplineProcedure'/>"/>
    <meta name="menu" content="DisciplineProcedureMenu"/>
</head>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/disciplineproceduresearchform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<display:table name="disciplineProcedureList" class="table" requestURI="" id="disciplineProcedureList" export="false" pagesize="25">
    <display:column property="id" sortable="true" href="disciplineprocedureform" media="html"
        paramId="id" paramProperty="id" titleKey="field.id"/>
    <display:column property="workPosition.employment.firstName" sortable="true" titleKey="disciplineProcedure.firstName" />
    <display:column property="workPosition.employment.lastName" sortable="true" titleKey="disciplineProcedure.lastName" />
    <display:column property="workPosition.employment.socScrNo" sortable="true" titleKey="disciplineProcedure.socScrNo" />
    <display:column property="workPosition.position" sortable="true" titleKey="disciplineProcedure.position"/>
    <display:column property="respType.name" sortable="true" titleKey="disciplineProcedure.responsibilityType"/>
    <display:column property="respReason.name" sortable="true" titleKey="disciplineProcedure.responsibilityReason"/>
    <display:column property="measures.name" sortable="true" titleKey="disciplineProcedure.measureTaken"/>
    <display:column property="procDate" sortable="true" titleKey="disciplineProcedure.procDate"/>
   
       <display:setProperty name="paging.banner.item_name"><fmt:message key="disciplineProcedure.disciplineProcedure"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="disciplineProcedure.disciplineProcedure"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="disciplineProcedure.disciplineProcedure"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="disciplineProcedure.disciplineProcedure"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="disciplineProcedure.disciplineProcedure"/>.pdf</display:setProperty>
</display:table>

<input type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/disciplineprocedureform"/>'" value="<fmt:message key="button.add"/>"/>
<input type="button" onclick="location.href='<c:url value="/mainMenu"/>'" value="<fmt:message key="button.done"/>"/>

<script type="text/javascript">
    highlightTableRows("disciplineProcedureList");
</script> 
